/**
 * 
 */
package net.it2pro.communication;

/**
 * @author nttuyen
 *
 */
public abstract class AbstractChatter implements Chatter {
	protected Channel channel;
	
	public void setChannel(Channel channel) {
		this.channel = channel;
	}
	public Channel getChannel() {
		return this.channel;
	}
	
	public void receive(String from, String message) {
		this.channel.route(from, message);
	}
}
